﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Clannan.Helper
{
    public class SendFetion
    {
        /// <summary>
        /// 发送飞信短信
        /// </summary>
        /// <param name="toMobile">发送给谁</param>
        /// <param name="content">飞信内容</param>
        public void Send(string toMobile, string content)
        {
            System.Net.WebClient wb = new System.Net.WebClient();
            wb.DownloadData(@"http://w.ibtf.net/f.php?phone=15813354600&pwd=wucaihong1&to=" + toMobile + "&msg=" + content + "&type=0");
        }
    }
}